package com.team.controller;

import com.team.service.AdminService;
import com.team.vo.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * -*- coding:utf-8 -*-
 *
 * @author 太阳偷渡青山
 * @software IntelliJ IDEA
 * @date 2022/10/24 12:00
 * @Description
 */
@RestController
@RequestMapping("/SectionAndDoctor")
public class SectionAndDoctorController {

    @Autowired
    private AdminService adminService;

    @RequestMapping("selectAll")
    public Result selectAll(){
        return adminService.selectAll();
    }
}
